package com.lz.dubbo.producer.common.domain;


/**
 * 通用异常信息类
 *
 * @author
 */
public class ErrMsg
{
    /** 错误代码 */
    private Integer errorCode;

    /** 错误信息 */
    private String errorMsg;

    public ErrMsg(String errorMsg, int errorCode) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
